package zhh.tangbao.auxiliary.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import zhh.tangbao.system.entity.DaoEntity;

import java.util.Date;

/**
 * 2023/2/25
 * @author 粥灰灰
 * @version 1.0
 * 系统公告
 */

@TableName(value = "system_notice")
@Data
public class SystemNotice extends DaoEntity {

    // ASSIGN_UUID 将主键设置为自动生成的UUID
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /** 公告标题 */
    private String noticeTitle;

    /** 公告内容 */
    private String noticeContent;

    @TableField(exist = false)
    private String recordUserName;

}
